2004 IFLEN(TIM$(1,10))=8ANDMID$(TIM$(1,10),4,2)<>"00"THENBEEP:LOCATEHL,HI:PRINT "Only `on the hour' values valid":FORJJ=1TO6000:NEXT:LOCATEHL,HI:GOTO1782 ELSEIFCH=5THEN8330
8122 REM
8227 CLS:GOSUB8322:GOSUB8324:PRINT"The sorting day is "TIM$(1,10)" to "MIT$:PRINT"Do you wish to change this value (y/n)? ";
8242 GOSUB59100:GOSUB62140:IFCO$<>"y"ANDCO$<>"n"THENBEEP:GOTO8242 ELSEIFCO$="n"THENPRINT SPC(1) "n":GOTO8319 ELSEIFCO$="y"THENX1$="y":PRINT "y
8252 PRINT:PRINT"Note: Only `on the hour values' from 12:00 am (i.e. midnight) to 11:00 am":PRINT TAB(7)"may be selected as the sorting day. Form for time is hr:mn_xm
8255 IFCO$="y"THENPRINT:PRINT"Enter new time for beginning of sorting day";:X=10:T=1:CH=5:GOTO1760
10010 CLS:PRINT:PRINT TAB(18)"U S E R S U P P O R T E D S O F T W A R E":LOCATE7,24:COLORCL3,CL2:PRINT"Install options for TVSCHED 1.0U":COLORCL1,CL2:LOCATE22,24:PRINT"Copyright (C), K.M Beilman, 1985";
10015 LOCATE10,30:PRINT"Select by number":LOCATE12,30:PRINT"1) Program information":LOCATE13,30:PRINT "2) Display attributes":LOCATE14,30:PRINT "3) Disk drive configuration":LOCATE15,30:PRINT "4) Sorting day
16015 PRINT"Press " CR$ " to accept value in parentheses":PRINT"or input a different value followed by "CR$:PRINT:PRINT"Foreground:valid input 0-15" SPC(10)"("CL1") ";:LINEINPUTCL1$:IFCL1$=""THEN16030 ELSECL1=VAL(CL1$)
20000 CLS:LOCATE4,24:HK=1:COLORCL3,CL2:PRINT"Disk drive configuration":COLORCL1,CL2:PRINT:PRINT:PRINT"Press " CR$ " to accept value in parentheses":PRINT"or input a different value followed by " CR$
20010 LOCATE10,1:PRINT"Disk drive for program, schedule files, and fn key files (" RD$ ") " ;:LINEINPUTRD1$:IFRD1$=""THEN20012 ELSERD$=RD1$
20012 LOCATE12,1:PRINT"(Input `n' for null value)":IFDR4$=""THENDR4$=" "
20015 LOCATE11,1:PRINT"Alternate disk drive for schedule files and fn key files (" DR4$ ") " ;:LINEINPUTDR1$:DR1$=LEFT$(DR1$,1):IFDR1$="N"ORDR1$="n"THENDR4$="" ELSEIFDR1$=""THEN20017 ELSEDR4$=DR1$
20022 IFLEN(RD$)<>1ORASC(RD$)<97ORASC(RD$)>122THENBEEP:LOCATE14,1:PRINT"Program drive assignment incorrect. Input a single letter":ST=1:RD$="a
20025 IFDR4$=""THEN20030 ELSEIFLEN(DR4$)<>1ORASC(DR4$)<97ORASC(DR4$)>122THENBEEP:HK=1:LOCATE15,1:PRINT"Alternate drive assignment incorrect. Input a single letter":ST=1:DR4$="
20030 IFST=1THENPRINT:PRINT TAB(HK)"Re-enter values":PRINT TAB(HK)"Press any key to continue
51000 CLS:LOCATE1,33:COLORCL3,CL2:PRINT"Documentation":COLORCL1,CL2:LOCATE3,1:PRINT:PRINT"Program overview":PRINT:PRINT"TVSCHED lets you plan and take control of your television viewing.
51010 PRINT:PRINT"TVSCHED accepts, edits, sorts, and prints out a listing of":PRINT"your selected television shows. The program is menu-driven and":PRINT"incorporates data testing. It sorts the tv shows you input by day
51015 PRINT"and time. After you choose the next week's tv shows from a tv":PRINT"directory, the program's features allow you to quickly compose and":PRINT"save weekly tv schedules on disk files and/or print-outs. The saved
51020 PRINT"schedules allow you to check your own custom tv schedule instead":PRINT"of the full commercial/cable tv listings. More significantly, the":PRINT"program allows you to keep a printed and/or disk record of the tape
51025 PRINT"location of any shows that you have videotaped.":PRINT
51030 PRINT"TVSCHED is especially useful to those time-shifting videotaping viewers":PRINT"who have difficulty in keeping track of what is where on which tape. ":PRINT"It maximizes the use of VCR's by planning the videotaping in advance
51035 PRINT"and providing a record of the location of taped shows.":LOCATE25,1:PRINT"Press any key to continue";:GOSUB62140:CLS:LOCATE2,33:COLORCL3,CL2:PRINT"Registration":COLORCL1,CL2:LOCATE,31
53010 PRINT"This unregistered version of TVSCHED is modularized. The program, excluding":PRINT"TVINSTAL, is divided into 2 modules: TV.EXE and TVEDIT.EXE. This version will":PRINT"run on the IBM PC or PC JUNIOR with 128K of memory.
53015 PRINT:PRINT"While this modularized program version is fully functional, it is somewhat":PRINT"slow when changing from one module to the other. Additionally, this version
53020 PRINT"has an obligatory startup pause with an offer to register. Also, except for":PRINT"the on-screen help page, the unregistered copy comes with no detailed docu-":PRINT"mentation. Encourage USER SUPPORTED SOFTWARE by registering.
53025 PRINT:PRINT"A $20 registration confers the following benefits:":PRINT:PRINT TAB(5)"1. An enhanced faster unmodularized version of the program that will run":PRINT TAB(8)"on the PC with 128K of memory.
53045 PRINT TAB(5)"2. The pause and request for payment, as well as the title page,":PRINT TAB(8)"removed from the registered version.":PRINT TAB(5)"3. The complete program documentation included on the program disk.
53065 PRINT TAB(5)"4. Entitlement to updates at a nominal cost.":PRINT TAB(5)"5. Registered users with IBM's `BASRUN.EXE' file can receive a smaller":PRINT TAB(8)"unmodularized version that runs on the PC Jr with 128K of memory.
53080 LOCATE25,1:PRINT"Press any key to continue";:GOSUB62140:CLS:COLORCL3,CL2:LOCATE1,25:PRINT "Disclaimer of Warranty":COLORCL1,CL2:PRINT:PRINT"This software is sold `as is' and without any warranties, whether
53115 PRINT "expressed or implied. The user assumes any and all risks of using TVSCHED.":PRINT:COLORCL3,CL2:PRINT TAB(25)"Terms of distribution":COLORCL1,CL2
53140 PRINT:PRINT"1. No fee, other than the fair cost of the disk media, postage, and handl-":PRINT TAB(4)"ing can be charged. Any charges, including the above, may not exceed $7.00.
53145 PRINT"2. This unregistered version of TVSCHED 1.0U can be freely copied and distri-":PRINT TAB(4)"buted, but only in an unmodified form.
53150 PRINT"3. The registration information, disclaimer, and terms of distribution must":PRINT TAB(4)"not be changed and must be distributed with the program.
53160 PRINT:COLORCL3,CL2:PRINT TAB(32)"Address":PRINT:COLORCL1,CL2:PRINT"Comments and suggestions are encouraged. Send your registration fee,":PRINT"your mailing address and/or your comments to:":PRINT
53170 PRINT TAB(28)"K.M. Beilman":PRINT TAB(28)"P.O. Box 6942":PRINT TAB(25)"Louisville, Ky. 40206":PRINT TAB(12)"(For Compuserve users, send comments to 71336,1122)":LOCATE25,1:PRINT"Press any key to continue";:GOSUB62140:GOTO10000
58000 IFERR=67ORERR=76THENBEEP:PRINT:PRINT:PRINT TAB(HK)"Write canceled":PRINT TAB(HK) "Incorrect drive assignment":PRINT TAB(HK)"Drive "RD$ " does not exist!":ST=1:RESUME20030
58002 IFERR=53ANDERL=61110THENRESUME61120
58003 IFERR=53ANDERL=60005THENRESUME60009
58005 IFERR=53ANDERL=59007ORERR=53ANDERL=59010THENPRINT:BEEP:PRINT TAB(30)"Error! Cannot find TV.EXE on drive "RD$:FORJJ=1TO6000:NEXT:RESUME10010
58006 IFERR=61ORERR=67THENBEEP:PRINT:PRINT:PRINT"Disk in drive "RD$ " is full":GOSUB59105:KILL"b:tv*.dat":RESUME10000 ELSEIFERR=70THENBEEP:PRINT:PRINT:PRINT"Disk in drive "RD$ " is write-protected":GOSUB59105:RESUME10000
58007 IFERR=71THENBEEP:PRINT:PRINT:PRINT"Disk drive "RD$ " not ready":GOSUB59105:RESUME10010
58010 IFERR=53THENTIM$(1,10)="6:00 am":RD$="a":DR2$="":DR4$="":SA=5:ABA=2400:CL1=7:CL2=0:CL3=7:CL4=0:RESUME10000 ELSEBEEP:PRINT:PRINT:PRINT "Basic error code "ERR "in line "ERL:FORJJ=1TO4500:NEXT:RESUME10000
62120 FORX=1TO7:READDK$(X):X1$(X)=STR$(X):X1$(X)=X1$(X)+".":X1$(X)=RIGHT$(X1$(X),2):NEXT:DON=1:DATA Sun, Mon, Tue, Wed, Thu, Fri, Sat
62121 FORJ=1TO41:READB$(J):NEXT:RETURN:DATA 1. Change dates,(e)dit schedule,2. Change dates to next wk,(f)iles,3. Save consecutive wk files,(v)iew schedule,4. Disk drive selection ,<F10> Main menu
62122 DATA (a)dd an entry,(n)ext day,(d)elete an entry,(f)iles,(r)eplace an entry,(c)hange dates,(e)dit an entry,<F10> day wk menu
62123 DATA 1. Read schedule from disk,(v)iew schedule,2. Erase schedule on disk,(e)dit schedule,3. Save schedule to disk,(c)hange dates,4. Disk drive selection,<F10> Main menu
62124 DATA (e)dit fn keys,(r)ead fn keys from disk,(s)ave fn keys to disk,(d)rive selection,<F10> main menu:DATA 3. View schedule,4. Print schedule,5. Change dates,6. Edit function keys,7. Edit open tape no.'s,8. Clear memory,9. Help with program
62126 DATA (n)ame of title,(t)ime,(c)hannel,(l)ength,(o)ther